package model;

/**
 * @author lchang
 *
 */
public class User {
	public int id;
	public String name;
	public String email;
	public String sign;
	public int sex;//0 :male,1: female
	public String birthday;
	public String regdate;
	public String lastlogin;
	public int level;
	public String pic;
	public String qq;
	public String weibo;
	public String city;

	
	public User defaultUser(){
	  User user=new User();	
	  user.setId(-1);
	  user.setSex(0);
	  user.setCity("阴曹地府");
	  user.setBirthday("1900-1-1");
	  user.setName("僵尸");
	  user.setSign("谁找我啊？");
	  user.setPic("/note/img/black.jpg");
	  return user;
	}	
	

	public String getCity() {
		return city;
	}


	public void setCity(String city) {
		this.city = city;
	}


	public int getId() {
		return id;
	}
	
	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}


	public void setId(int id) {
		this.id = id;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public String getRegdate() {
		return regdate;
	}
	public void setRegdate(String regdate) {
		this.regdate = regdate;
	}
	public String getLastlogin() {
		return lastlogin;
	}
	public void setLastlogin(String lastlogin) {
		this.lastlogin = lastlogin;
	}
	public int getLevel() {
		return level;
	}
	public void setLevel(int level) {
		this.level = level;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}


	public String getWeibo() {
		return weibo;
	}


	public void setWeibo(String weibo) {
		this.weibo = weibo;
	}
 
}
